package com.roger.mybatisplus.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
public class PageController {

    @RequestMapping("/{page}")
    public String page(@PathVariable String page){
        log.info("page:{}",page);
        return page;
    }
}
